package com.bcbim.smart_water_interface.inspection.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @version V 1.0.0
 * @Description：
 * @Author: haomeijie
 * @Date: 2021/11/11 15:14
 **/
@Data
@Accessors
public class ListInspectionVO implements Serializable {

    private String id;

    private String userName;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate inspectionDate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    private Integer distance;

    private Integer duration;

    private Integer problemCount;

}
